import request from "../utils/request.js";

export function getCollectList(current, size, nickName) {
  return request({
    url: "/collect/getCollectList",
    method: "post",
    params: {
      current,
      size,
      nickName,
    },
  });
}

export function deleteCollectList(id) {
  return request({
    url: "/collect/deleteCollectList",
    method: "get",
    params: {
      id,
    },
  });
}
